#ifndef EFFECTOR2008
#define EFFECTOR2008

#include "../GL/glut.h"
#include "Utilities.h"
#include "../mtxlib/mtxlib.h"
#include "Renderable.h"


class Effector : public Singleton<Effector>, public Renderable
{
	//mtxlib::vector3 _n;
	mtxlib::vector3 _p;
	float _effSpeed;
	mtxlib::matrix44 _rotmatrix;
public:
	Effector();
	void RotateX(float dx);
	void RotateY(float dy);
	void RotateVec(mtxlib::vector3 vec, float d);
	void Translate(float dx, float dy, float dz);
	void SetPos(float dx, float dy, float dz);
	mtxlib::matrix44 &RotMatrix();
	mtxlib::matrix44 GetMatrix();
};

#endif
